#!/bin/bash

set -x

cd /tmp

rm -rf setuptools*
cp ~/setuptools-0.6c1.zip .
unzip setuptools-0.6c1.zip
cd setuptools-0.6c1
$PYTHON setup.py install
cd ..

rm -rf nose*
cp ~/nose-0.9.0.tar.gz .
tar xvfz nose-0.9.0.tar.gz
cd nose-0.9.0
$PYTHON setup.py install
cd ..

rm -rf logilab-common*
cp ~/common-0.19.2.tar.gz .
tar xvfz common-0.19.2.tar.gz
cd logilab-common-0.19.2
$PYTHON setup.py install
cd ..

rm -rf logilab-astng*
cp ~/astng-0.16.1.tar.gz .
tar xvfz astng-0.16.1.tar.gz
cd logilab-astng-0.16.1
$PYTHON setup.py install
cd ..

rm -rf pylint*
cp ~/pylint-0.12.1.tar.gz .
tar xvfz pylint-0.12.1.tar.gz
cd pylint-0.12.1
$PYTHON setup.py install
cd ..

rm -rf cheesecake
svn co http://svn.pycheesecake.org/trunk cheesecake
cd cheesecake
$PYTHON_BIN_PATH/nosetests --verbose --with-doctest --doctest-tests --include unit --exe

